<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>首页1.0</title>
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/index.css">
  <script src="./lib/flexible/flexible.js"></script>
</head>

<body>
  <div class="mmm_container">
    <div class="mmm_header clearfix">
      <div class="logo">
        <img src="./images/header_logo.png" alt="">
      </div>
      <div class="app">
        <img src="./images/header_app.png" alt="">
      </div>
    </div>
    <div class="mmm_search">
      <input type="text" placeholder="请输入想比价的商品">
      <button>搜索</button>
    </div>
    <div class="mmm_menu clearfix">
      <ul class="menu clearfix">
        <!-- 待渲染 -->

      </ul>
    </div>
    <div class="mmm_discount">
      <div class="title">
        超值折扣推荐
        <img src="./images/more.png" alt="">
      </div>
      <div class="items">
        <!-- 待渲染 -->
      </div>
      <div class="more">
        <a class="more_info" href="moneyctrl.html">更多优惠信息>></a>
      </div>
    </div>
    <div class="mmm_footer">
      <div class="title">
        品牌排行
        <img src="./images/more.png" alt="">
      </div>
      <div class="nav">
        <a href="javscript:;">登录</a>
        <a href="javscript:;">注册</a>
        <a href="#">
          <img src="./images/top.jpg" alt="">
          返回顶部
        </a>
      </div>
      <div class="app">
        <span class="load">手机APP下载</span>
        <a href="#">慢慢买手机版</a>
        <span>--掌上比价平台</span>
        <p>m.manmanbuy.com</p>
      </div>
    </div>
  </div>




  <script type="text/template" id="tmp">
   {{each result v i}}
      <li class="{{v.indexmenuId>7?"hide":""}}">
       <a data-id={{v.indexmenuId}} href="{{v.titlehref}}">
         {{v.img}}
         <p>{{v.name}}</p>
       </a>
      </li>
   {{/each}}
  </script>

  <script type="text/template" id="tmp2">
    {{each result v i}}
        <a data-id={{v.productId}} class="item" href="moneyproduct.html?productid={{v.productId}}">
           <div class="img">{{@v.productImgSm}}</div>
           <div class="info">
             <div class="info1">
                 <p>{{v.productName}}<span class="price">{{v.productPinkage}}</span></p>

             </div>
             <div class="info2">
               <div class="left fl">
                   <span class="first">{{v.productFrom}}</span>
                   <span>{{v.productTime}}</span>
               </div>
               <div class="right fr">
                    {{v.productComCount}}
               </div>
             </div>
           </div>
        </a>
    {{/each}}
  </script>


  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/index.js"></script>
</body>

</html>